#include  <netinet/in.h>
#include  <string.h>
#include <fcntl.h>
#include "event.h"
#include  "my_error.h"

int open_socket(long host,int port);

void setnonblocking(int fd);
